//
//  UIImage+NLImageSize.h
//  TestImage
//
//  Created by yj_zhang on 2017/11/3.
//  Copyright © 2017年 yj_zhang. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (NLImageSize)

+ (CGSize)getImageSizeWithURL:(id)URL;

- (NSData *)resetSizeOfImageData:(UIImage *)source_image maxSize:(NSInteger)maxSize ;

+ (CGSize)calculateImgSizeFromUrl:(NSString *)url;

+ (CGSize)SinglePhotoSize:(CGSize )imgSize  maxWidth:(CGFloat)maxWidth maxHeight:(CGFloat)maxHeight;

+(UIImage *)getBundleImageWithName:(NSString *)imageName className:(NSString *)className;
// 根据图片url获取图片尺寸
+(CGSize)getImageSizeWithImgURL:(id)imageURL;

@end
